package com.orange.off.cloud.cloudoff.adapters;

import android.content.Context;
import android.widget.TextView;

import com.orange.off.cloud.cloudoff.R;
import com.orange.off.cloud.cloudoff.base.ListBaseAdapter;
import com.orange.off.cloud.cloudoff.base.SuperViewHolder;
import com.orange.off.cloud.cloudoff.model.Client_Add_Choice_ListBean;

/**
 * 个人中心------我的佣金adapter
 *
 * @author smile
 */
public class PersonalCommissionListAdapter extends ListBaseAdapter<Client_Add_Choice_ListBean> {


    public PersonalCommissionListAdapter(Context context) {
        super(context);
    }

    @Override
    public int getLayoutId() {
        return R.layout.personal_commission_items;
    }

    @Override
    public void onBindItemHolder(SuperViewHolder holder, int position) {
        ViewHolder viewHolder = new ViewHolder();
        Client_Add_Choice_ListBean item = mDataList.get(position);

        viewHolder.personal_commission_items_name = holder.getView(R.id.personal_commission_items_name);
        viewHolder.personal_commission_items_name.setText(item.name);
    }


    class ViewHolder {
        TextView personal_commission_items_name;


    }
}